#ifndef DSPSIMULATOR_GENERALREGISTER_H
#define DSPSIMULATOR_GENERALREGISTER_H

#include <string>
#include <utility>
#include <simulator/type/type.h>
#include <simulator/targetMachine/register.h>

class GPR : public Register<u32> {
public:
    explicit GPR(std::string name);

    ~GPR() override = default;

    u32 *getDataPtr() override;

    void updateData(u32 data) override;
};

#endif //DSPSIMULATOR_GENERALREGISTER_H
